@extends('layouts.admin_modal')

@section('content')
    <div class="box-body">
        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label">角色唯一名称</label>

            <div class="col-sm-10">
                <input type="text" class="form-control" id="input-name" placeholder="请输入角色唯一名称……" name="info[name]" value="{{ get_value($detail, 'name', '') }}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-display_name" class="col-sm-2 control-label">角色展示名称</label>

            <div class="col-sm-10">
                <input type="text" class="form-control" id="input-display_name" placeholder="请输入角色展示名称……" name="info[display_name]" value="{{ get_value($detail, 'display_name', '') }}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-description" class="col-sm-2 control-label">角色描述</label>
            <div class="col-sm-10">
                <textarea class="form-control" name="info[description]" id="input-description" cols="30" rows="10" placeholder="请输入角色描述信息……">{{ get_value($detail, 'description', '') }}</textarea>
            </div>
        </div>

    </div>

    <input type="hidden" name="info[id]" value="{{ get_value($detail, 'id') }}">
@endsection